<!DOCTYPE html>
<html ng-app="app">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
	    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
	    <meta name="description" content="圣象">
		<meta name="author" content="" />
		<!-- 不缓存 -->
		<META HTTP-EQUIV="pragma" CONTENT="no-cache"> 
		<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate"> 
		<META HTTP-EQUIV="expires" CONTENT="0">
		<title>圣象营销活动管理平台</title>
		<link rel="shortcut icon" type=”image/x-icon” href="../../favicon.ico">
		<!-- 页面样式文件 -->
		<link rel="stylesheet" type="text/css" href="../../css/bootstrap.min.css"  />
		<link rel="stylesheet" type="text/css" href="../../css/kendo/kendo.common.min.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/kendo/kendo.rtl.min.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/kendo/kendo.silver.min.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/kendo/kendo.mobile.all.min.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/kendo.common-bootstrap.min.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/kendo.bootstrap.min.css"/>	
		<link rel="stylesheet" type="text/css" href="../../css/kendo.dataviz.bootstrap.min.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/fontawesome/css/font-awesome.min.css">
		<link rel="stylesheet" type="text/css" href="../../css/App.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/styles.css">
		<link rel="stylesheet" type="text/css" href="../../css/partyStyle.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/style_gather.css"/>
		<!-- Jquery -->
		<script type="text/javascript" src="../../plugins/jquery/jquery.min.js"></script>
		<!-- 模块化加载 -->
		<script type="text/javascript" src="../../plugins/angularjs/angular.min.js"></script>
		<!-- <script type="text/javascript" src="../../plugins/angularjs/angular-route.min.js"></script> -->
		<script type="text/javascript" src="../../plugins/angularjs/angular-resource.min.js"></script>
		<script type="text/javascript" src="../../plugins/angularjs/angular-translate.min.js"></script>
		<script type="text/javascript" src="../../plugins/angularjs/angular-translate-loader-static-files.js"></script>
		<script type="text/javascript" src="../../plugins/angularjs/angular-sanitize.js"></script>
		<script type="text/javascript" src="../../plugins/angular-ui-router/angular-ui-router.min.js"></script>
		<script type="text/javascript" src="../../plugins/oclazyload/ocLazyLoad.min.js"></script>
		<!-- bootstrap框架 -->
		<script type="text/javascript" src="../../plugins/bootstrap/bootstrap.min.js"></script>
		<!-- kendo-UI框架 -->
		<!-- <script type="text/javascript" src="../../plugins/kendo/kendo.all.min.js"></script> -->
		<script type="text/javascript" src="../../plugins/kendo/jszip.min.js"></script>
		<script type="text/javascript" src="../../plugins/kendo/kendo.js"></script>
		<script type="text/javascript" src="../../plugins/kendo/messages/kendo.messages.zh-CN.min.js"></script>
		<script type="text/javascript" src="../../plugins/kendo/kendo.culture.zh-CN.js"></script>
		<!-- 配置文件 -->
		<script type="text/javascript" src="../../config/App.js"></script>
		<script type="text/javascript" src="../../config/init.js"></script>
		<!-- <script type="text/javascript" src="../../config/oclazyload.config.js"></script> -->
		<script type="text/javascript" src="../../config/route.config.js"></script>
		<script type="text/javascript" src="../../config/publicService.js"></script>
		<!-- 高德地图 -->
		<link rel="stylesheet" type="text/css" href="../../plugins/map/main1119.css"/>
	    <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.3&key=3705a223b2286f192d34ec178ca43747&plugin=AMap.Autocomplete,AMap.PlaceSearch"></script>
		<!-- Echarts图表库-->
		<!-- <script type="text/javascript" src="../../plugins/jquery/echarts.min.js"></script> -->
		<!-- 文本编辑器 -->
	    <script type="text/javascript" src="../../plugins/ueditor/ueditor.config.js"></script>
	    <script type="text/javascript" src="../../plugins/ueditor/ueditor.all.js"></script>
	    <!-- alert弹框 -->
	    <link rel="stylesheet" type="text/css" href="../../plugins/alert/alert.css"/>
	    <script type="text/javascript" src="../../plugins/alert/alert.js"></script>
	   	<!-- ztree树 -->
	   	<link rel="stylesheet" type="text/css" href="../../plugins/dist/zTreeStyle/zTreeStyle2.css"/>
		<script type="text/javascript" src="../../plugins/dist/jquery.ztree.core.js"></script>
		<script type="text/javascript" src="../../plugins/dist/jquery.ztree.exedit.js"></script>
		<script type="text/javascript" src="../../plugins/dist/jquery.ztree.excheck.js"></script>	
		<script type="text/javascript" src="../../js/tools/ztree.js"></script>	
	</head>
	<body style="min-width:1280px">
		<!--头部-->
		<header id="header" ng-controller="headerCtrl">
				<h1 id="site-logo">
				<a href="./index.html" style="text-decoration:none">
					<img style="padding-left:50px;" src="../../images/logos/logo1.png" width="130" alt="Site Logo" />
					<span style="padding-left:20px;color: #fff;font-size: 20px;">|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;圣象营销活动管理平台</span>
				</a>
			</h1>
			<ul class="list-inline" style="float:right;padding:30px 60px 30px;color:#fff;font-size: 15px;">
				<li>
					<a href="javascript:void(0);" ng-click="changeRightPage('/userAccount')" style="padding:30px 10px 30px;color:#fff;">
						<i class="fa fa-home"></i> 
						<span id="user_name"></span>
					</a>
				</li>
				<li>
					<a href="#" style="padding:30px 10px 30px;color:#fff;">
						<i class="fa fa-comment-o"></i> 
						消息
					</a>
				</li>
				<li>
					<a href="javascript:logout();" style="padding:30px 10px 30px;color:#fff;">
						<i class="fa fa-power-off"></i> 
						<span>退出</span>
					</a>
				</li>
			</ul>
		</header>	
		<!-- 内容区域 -->
		<div id="wrapper">
			<div class="plbottom">
				<!--侧边菜单栏-->
				<div id="sidebar-wrapper" class="collapse sidebar-collapse" ng-controller="leftCtrl">
					<nav id="sidebar"></nav> 
				</div>
			
				<!--右侧内容区-->
				<div id="content">
					<div ui-view>  </div>
				</div> 
			</div>
		</div> 
		<!-- 底部 -->
		<footer>
			<div>Copyright &copy; 2017, www.kaolaj.com&nbsp;&nbsp;版权所有</div>
			<a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010602005816">
			 	<text style="color: #FFFFFF;margin-left:10px"> 京ICP备17010529号 </text>
			 	<text style="color: #FFFFFF;">&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;京公网安备 11010602005816号</text>
			 	<img src="../../images/security.png"/>
			 	
	 		</a>
		</footer>
		
		<script type="text/javascript">
			if(userInfo){
				$("#user_name").html(userInfo.tag);   //用户名
			}else{
				$.ajax({
					url : path+"/server/getCurrentUser",
					type : "GET",
					success : function(data) {  
						var user_info = data;
						$("#user_name").html(user_info.tag);   //用户名 
					}
				});
			}
		
			//退出
			function logout(){
				$.ajax({
					url : path+"/logout",
					type : "GET",
					success : function(data) {
						window.location.href= path+"/login.html"
					}
				});
			}
		</script>
	</body>
</html>